<html>
<head>
<title>Arrays</title>
</head>
<body>
<script type="text/javascript">
var friends=new Array(5);
friends[0]="Kashif";
friends[1]="Amir";
friends[2]="Mahwish";
friends[3]="Waqar";
friends[4]="Taha";
document.write(friends[0]);
document.write("<br>");
document.write(friends[1]);
document.write("<br>");
document.write(friends[2]);
document.write("<br>");
document.write(friends[3]);
document.write("<br>");
document.write(friends[4]);
</script>
</body>
</html>